//
//  YMCheckService.h
//  YMMedical
//
//  Created by y s on 2023/7/13.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface YMCheckService : NSObject

+ (void)requestUploadFileWithData:(NSData *)fileData
                         fileName:(NSString *)fileName
                         mimeType:(NSString *)mimeType
                          success:(void(^)(NSString *pathUrl, NSString *fileName))success
                          failure:(void(^)(NSString *message))failure;

/** 采样 第一步 页面接口 */
+ (void)requestCheckSampleStepOneDataWithId:(NSString *)idStr
                                  stepFirst:(BOOL)stepFirst
                                    success:(void(^)(NSString *tipsStr, NSArray *arrImg))success
                                    failure:(void(^)(NSString *message))failure;
/** 检测报告内容 */
+ (void)requestCheckReportDetailContentWithId:(NSString *)idStr
                                      success:(void(^)(NSString *contentText))success
                                      failure:(void(^)(NSString *message))failure;

/** 检测规则查询接口 idStr: 小类id */
+ (void)requestCheckUserInforListBottomItemDataWithIdStr:(NSString *)idStr
                                                 success:(void(^)(NSString *nameStr,NSArray *arrItem))success
                                                 failure:(void(^)(NSString *message))failure;
/** 试剂卡管理查询接口 */
+ (void)requestCheckDetectionCardDataWithIdStr:(NSString *)idStr
                                      cardCode:(NSString *)cardCode
                                       success:(void(^)(BOOL canUse, NSDictionary *dictData))success
                                       failure:(void(^)(NSString *message))failure;
/** 添加检测记录 */
+ (void)requestCheckAddDetectionRecordWithDict:(NSDictionary *)dictParam
                                       success:(void(^)(NSString *detectionId))success
                                       failure:(void(^)(NSString *message))failure;

@end

NS_ASSUME_NONNULL_END
